from django.urls import re_path, path, include
from rest_framework import routers
from . import views
from . import fsygs

router = routers.DefaultRouter()
# router.register(r"conf", views.AllinpayMemberConfViewSet, basename="01会员配置信息")
# router.register(r"member", views.AllinpayMemberListViewSet, basename="02会员信息列表")

# router.register(r"inter", views.AllinpayMemberinterListViewSet, basename="10会员积分")
# router.register(r"interlog", views.AllinpayMemberinterLogsViewSet, basename="11会员积分日志")
# router.register(r"money", views.AllinpayMembermoneyListViewSet, basename="12会员钱包")
# router.register(r"moneylog", views.AllinpayMembermoneyLogsViewSet, basename="13会员钱包日志")

# router.register(r"Login", views.BMemberLoginViewSet, basename="20会员登录")

router.register(r"level", fsygs.MemberLevelruleListViewSet, basename="10会员等级规则列表")
router.register(r"count", fsygs.MemberLevelCountViewSet, basename="11会员等级规则统计")


urlpatterns = [
    path("", include(router.urls)),
]
